package com.eastfair.projectcore.config;

import com.eastfair.aopcache.CacheConfigure;
import com.eastfair.cache.CaffeineAutoConfigure;
import com.eastfair.cache.RedisAutoConfigure;
import com.eastfair.core.utils.StrPool;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.interceptor.KeyGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 缓存配置
 * 一级缓存 caffeine
 * 二级缓存 redis
 *
 * @author ligang
 * @date 2019/08/07
 */
//@Slf4j
@Configuration
@AutoConfigureAfter(CacheAutoConfigure.class)
public class AopCacheConfigure extends CacheConfigure {

}
